pandas convert all string columns to lowercase

30

df = df.applymap(lambda s:s.lower() if type(s) == str else s)

Comments

Submit
0 Comments